CREATE TABLE [dbo].[T_TOPIC]
(
[TOPIC_ID] [bigint] NOT NULL IDENTITY(1, 1),
[PERSON_ID] [bigint] NULL,
[TOPIC_NAME] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CREATE_DATE] [datetime] NOT NULL,
[DISABLE_DATE] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_TOPIC] ADD CONSTRAINT [PK__T_TOPIC__A345165935B2C605] PRIMARY KEY CLUSTERED  ([TOPIC_ID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_TOPIC] ADD CONSTRAINT [FK__T_TOPIC__PERSON___5FB337D6] FOREIGN KEY ([PERSON_ID]) REFERENCES [dbo].[T_PERSON] ([PERSON_ID])
GO
